using UnityEngine;
using System.Collections;

public class CameraFollow : MonoBehaviour {
	public Transform target;
	
	// Update is called once per frame
	void LateUpdate () {
		if(target != null)
			transform.position = new Vector3(target.position.x,transform.position.y,target.position.z);
	}
}
